//microcommand define panic
signature("[secs:number]", { checkUnknown: true, authority: 2 })
action(({ session }, secs) => {
if (secs == null) secs = 2
else if (!(secs > 0 && secs <= 10)) return session.text(".out-of-range")
const d = ctx.channel(session.channelId).before("send", () => true)
ctx.setTimeout(d, secs * 1000)
})
locale("zh-CN", { description: "专治两 bot 无限套娃（", usage: "暂时禁止 LNNBot 在本频道发送消息数秒（最多 10 秒，默认 2 秒）", messages: { "out-of-range": "输入无效…" } })